package game.ability;

import game.entity.AbsSprite;

public class AbsMoving implements IMoving {

	protected float speed;
	protected float slower;
	
	@Override
	public void run(AbsSprite sprite) {		
	}

	@Override
	public void setSpeed(float speed) {
		this.speed = speed;		
	}

	@Override
	public float getSpeed() {
		return speed;
	}
	
	public float getSlower() {
		return slower;
	}

	public void setSlower(float _slower) {
		this.slower = _slower;
	}
	
	public AbsMoving(float speed) {
		this.speed = speed;
		slower = 1;
	}
}
